package com.elective.courseselect.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.elective.courseselect.enums.QuestionnaireStatus;
import com.elective.courseselect.enums.QuestionnaireType;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * 
 * @author lee
 * @email 943204006@qq.ccom
 * @date 2021-09-04 19:22:34
 */
@Data
@TableName("questionnaire")
public class QuestionnaireEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**
	 * 0 character-性格调查问卷,  1-课程意愿调查问卷
	 */
	private QuestionnaireType type;
	/**
	 * 0-提交申请、1-申请通过、2-弃用
	 */
	private QuestionnaireStatus status;

	/**
	 * 提交申请、申请通过、弃用
	 */
	private String name;

	@TableField(exist = false)
	private String statusName;

	@TableField(exist = false)
	private String typeName;
}
